--------------------------------------------------------------------------------
README for:
 "Understanding the National Implementation of a Legalized Abortion Policy: 
  Evidence from Decriminalization in Chile"
Cecilia Correa-Meneghello & Damian Clarke & Viviana Salinas & Alejandra Ramm
Canadian Studies in Population
2025
DOI: 10.1007/s42650-025-00090-y
--------------------------------------------------------------------------------

This folder contains four sub-directories:
|_ data:    contains all data used in the paper
|_ source:  contains source code used for replication of results
|_ results: figures provided in the paper

All results in the paper can be replicated by running the programs provided in
the "source" sub-directory, or are provided in as graphical outputs with underly-
ing data in the CSP_results_2025_04.xlsx file.  In order to replicate results in
code in the source sub-folder simply changing one global variable in the file 
figure3.do, pointing to the location of this folder on your computer.  

All source files written in Stata are written for version >=15.0.

A number of external user-written programs are required, which can be installed 
from the SSC in Stata, or with net install from Stata Journal repositories. These
packages are:
 - shp2dta:
    ssc install shp2dta
 - spmap:
    ssc install spmap
 - renvars:
    net link sj
    net cd software/sj5-4
    net install dm88_1

These scripts have been tested on a notebook with 32GB of RAM, and an Intel i7 
with 8 cores using Stata MP version 18.0.  The file figure3.do should take less
than 5 minutes to run.

Data sources are listed below:

Centro de Estudios y Análisis del Delito (2024). Estadísticas Delictuales [Crime 
 Statistics], n.d. Online resource https://cead.spd.gov.cl/estadisticas-delictuales/  
 Accessed August 12.

Corporación Humanas (2023). Objeción de conciencia en Chile: Desafíos en la 
implementación de la ley sobre interrupción voluntaria del embarazo en tres causales 
a seis años de su dictación.

DEIS, Ministerio de Salud, Chile (2024). "Información sobre casos constituidos en el 
marco de la Ley 21.030 que regula la interrupción voluntaria del embarazo en 3 
causales".  Online resource https://informesdeis.minsal.cl/SASVisualAnalytics/?reportUri=%2Freports%2Freports%2F382105c8-521f-4356-b1b8-6bad21ba8b08&sectionIndex=0&sso_guest=true&reportViewOnly=true&reportContextBar=false&sas-welcome=false
 Last consulted 19 June, 2025.
 

